a = 10
b = 20
c = 30

d, e, f = 10, 20, 30

names = ['诸葛亮', '刘备', '张飞']
print(names)

# 追加到末尾
names.append("赵云")
print(names)

# 插入
names.insert(2,"关羽")
print(names)

# 删除末尾的元素
print(names.pop())
print(names)

# 指定下标删除
print(names.pop(0))
print(names)

# 指定元素删除
print(names.remove("关羽"))
print(names)

# 修改元素的值
names[1] = "张翼德";
print(names)
